Get following error messages when running make:
evalfunc.o(.text+0x618): In function `evaluate_FUNCTION':
/usr/lib/zabbix/zabbix-1.1beta1/src/zabbix_server/evalfunc.c:342: undefined reference to `mysql_free_result'
evalfunc.o(.text+0xdb4): In function `evaluate_FUNCTION2':
/usr/lib/zabbix/zabbix-1.1beta1/src/zabbix_server/evalfunc.c:718: undefined reference to `mysql_free_result'
evalfunc.o(.text+0xdc6):/usr/lib/zabbix/zabbix-1.1beta1/src/zabbix_server/evalfunc.c:703: undefined reference to `mysql_free_result'
expression.o(.text+0x363): In function `substitute_simple_macros':
/usr/lib/zabbix/zabbix-1.1beta1/src/zabbix_server/expression.c:856: undefined reference to `mysql_free_result'
expression.o(.text+0x47e):/usr/lib/zabbix/zabbix-1.1beta1/src/zabbix_server/expression.c:882: undefined reference to `mysql_free_result'
actions.o(.text+0x36c):/usr/lib/zabbix/zabbix-1.1beta1/src/zabbix_server/actions.c:161: more undefined references to `mysql_free_result' follow
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0xcc): In function `DBaffected_rows':
/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:250: undefined reference to `mysql_affected_rows'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0xfa): In function `DBinsert_id':
/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:236: undefined reference to `mysql_insert_id'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x11b): In function `DBget_field':
/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:214: undefined reference to `mysql_data_seek'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x123):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:215: undefined reference to `mysql_fetch_row'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x146):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:218: undefined reference to `mysql_error'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x166):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:219: undefined reference to `mysql_error'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x566): In function `DBnum_rows':
/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:294: undefined reference to `mysql_num_rows'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x5df): In function `DBexecute':
/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:128: undefined reference to `mysql_errno'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x5ef):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:128: undefined reference to `mysql_error'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x60c):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:129: undefined reference to `mysql_errno'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x623):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:129: undefined reference to `mysql_errno'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x647):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:133: undefined reference to `mysql_query'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x9ff): In function `DBselect':
/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:174: undefined reference to `mysql_errno'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0xa0f):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:174: undefined reference to `mysql_error'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0xa2c):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:175: undefined reference to `mysql_errno'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0xa43):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:175: undefined reference to `mysql_errno'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0xa64):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:179: undefined reference to `mysql_query'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0xb18): In function `DBget_trigger_by_triggerid':
/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:1439: undefined reference to `mysql_free_result'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0xc70):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:1439: undefined reference to `mysql_free_result'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0xcea): In function `DBget_default_escalation_id':
/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:1383: undefined reference to `mysql_free_result'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0xdb7): In function `DBget_queue_count':
/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:1191: undefined reference to `mysql_free_result'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0xde4):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:1197: undefined reference to `mysql_free_result'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0xe68):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:1161: more undefined references to `mysql_free_result' follow
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x24b9): In function `DBconnect':
/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:69: undefined reference to `mysql_error'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x24d9):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:70: undefined reference to `mysql_error'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x24f5):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:71: undefined reference to `mysql_errno'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x250c):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:71: undefined reference to `mysql_errno'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x2559):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:66: undefined reference to `mysql_init'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x258b):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:67: undefined reference to `mysql_real_connect'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x25a8):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:78: undefined reference to `mysql_select_db'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x25be):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:81: undefined reference to `mysql_error'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x25de):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:82: undefined reference to `mysql_error'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x260c): In function `DBclose':
/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:47: undefined reference to `mysql_close'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0xa7f): In function `DBselect':
/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:182: undefined reference to `mysql_store_result'
pinger/libzbxpinger.a(pinger.o)(.text+0x379): In function `process_value':
/usr/lib/zabbix/zabbix-1.1beta1/src/zabbix_server/pinger/pinger.c:197: undefined reference to `mysql_free_result'
pinger/libzbxpinger.a(pinger.o)(.text+0x3c2):/usr/lib/zabbix/zabbix-1.1beta1/src/zabbix_server/pinger/pinger.c:147: undefined reference to `mysql_free_result'
pinger/libzbxpinger.a(pinger.o)(.text+0x4c0): In function `main_pinger_loop':
/usr/lib/zabbix/zabbix-1.1beta1/src/zabbix_server/pinger/pinger.c:252: undefined reference to `mysql_free_result'
pinger/libzbxpinger.a(pinger.o)(.text+0x55e):/usr/lib/zabbix/zabbix-1.1beta1/src/zabbix_server/pinger/pinger.c:266: undefined reference to `mysql_free_result'
poller/libzbxpoller.a(poller.o)(.text+0x6a): In function `update_key_status':
/usr/lib/zabbix/zabbix-1.1beta1/src/zabbix_server/poller/poller.c:165: undefined reference to `mysql_free_result'
poller/libzbxpoller.a(poller.o)(.text+0xbe):/usr/lib/zabbix/zabbix-1.1beta1/src/zabbix_server/poller/poller.c:165: more undefined references to `mysql_free_result' follow
collect2: ld returned 1 exit status
make[3]: *** [zabbix_server] Error 1
make[3]: Leaving directory `/usr/lib/zabbix/zabbix-1.1beta1/src/zabbix_server'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/lib/zabbix/zabbix-1.1beta1/src/zabbix_server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/lib/zabbix/zabbix-1.1beta1/src'
make: *** [all-recursive] Error 1
My system configuration is as follows:
OS: SuSE Linux 9.3 Professional (Linux 2.6.11.4-21.9-default)
MySQL Server: MySQL 4.1.10a
MySQL Client: MySQL Client Version 5.0.4
SNMP: Net-SNMP 5.0.1 and also tried Net-SNMP 5.2.2.Pre1
Other: Perl, PHP, Ruby, Python (installed from SuSE 9.3 Professional CD and updated from SuSE site)
evalfunc.o(.text+0x618): In function `evaluate_FUNCTION':
/usr/lib/zabbix/zabbix-1.1beta1/src/zabbix_server/evalfunc.c:342: undefined reference to `mysql_free_result'
evalfunc.o(.text+0xdb4): In function `evaluate_FUNCTION2':
/usr/lib/zabbix/zabbix-1.1beta1/src/zabbix_server/evalfunc.c:718: undefined reference to `mysql_free_result'
evalfunc.o(.text+0xdc6):/usr/lib/zabbix/zabbix-1.1beta1/src/zabbix_server/evalfunc.c:703: undefined reference to `mysql_free_result'
expression.o(.text+0x363): In function `substitute_simple_macros':
/usr/lib/zabbix/zabbix-1.1beta1/src/zabbix_server/expression.c:856: undefined reference to `mysql_free_result'
expression.o(.text+0x47e):/usr/lib/zabbix/zabbix-1.1beta1/src/zabbix_server/expression.c:882: undefined reference to `mysql_free_result'
actions.o(.text+0x36c):/usr/lib/zabbix/zabbix-1.1beta1/src/zabbix_server/actions.c:161: more undefined references to `mysql_free_result' follow
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0xcc): In function `DBaffected_rows':
/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:250: undefined reference to `mysql_affected_rows'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0xfa): In function `DBinsert_id':
/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:236: undefined reference to `mysql_insert_id'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x11b): In function `DBget_field':
/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:214: undefined reference to `mysql_data_seek'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x123):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:215: undefined reference to `mysql_fetch_row'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x146):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:218: undefined reference to `mysql_error'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x166):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:219: undefined reference to `mysql_error'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x566): In function `DBnum_rows':
/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:294: undefined reference to `mysql_num_rows'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x5df): In function `DBexecute':
/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:128: undefined reference to `mysql_errno'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x5ef):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:128: undefined reference to `mysql_error'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x60c):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:129: undefined reference to `mysql_errno'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x623):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:129: undefined reference to `mysql_errno'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x647):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:133: undefined reference to `mysql_query'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x9ff): In function `DBselect':
/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:174: undefined reference to `mysql_errno'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0xa0f):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:174: undefined reference to `mysql_error'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0xa2c):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:175: undefined reference to `mysql_errno'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0xa43):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:175: undefined reference to `mysql_errno'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0xa64):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:179: undefined reference to `mysql_query'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0xb18): In function `DBget_trigger_by_triggerid':
/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:1439: undefined reference to `mysql_free_result'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0xc70):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:1439: undefined reference to `mysql_free_result'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0xcea): In function `DBget_default_escalation_id':
/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:1383: undefined reference to `mysql_free_result'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0xdb7): In function `DBget_queue_count':
/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:1191: undefined reference to `mysql_free_result'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0xde4):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:1197: undefined reference to `mysql_free_result'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0xe68):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:1161: more undefined references to `mysql_free_result' follow
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x24b9): In function `DBconnect':
/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:69: undefined reference to `mysql_error'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x24d9):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:70: undefined reference to `mysql_error'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x24f5):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:71: undefined reference to `mysql_errno'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x250c):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:71: undefined reference to `mysql_errno'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x2559):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:66: undefined reference to `mysql_init'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x258b):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:67: undefined reference to `mysql_real_connect'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x25a8):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:78: undefined reference to `mysql_select_db'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x25be):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:81: undefined reference to `mysql_error'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x25de):/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:82: undefined reference to `mysql_error'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0x260c): In function `DBclose':
/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:47: undefined reference to `mysql_close'
../libs/zbxdbhigh/libzbxdbhigh.a(db.o)(.text+0xa7f): In function `DBselect':
/usr/lib/zabbix/zabbix-1.1beta1/src/libs/zbxdbhigh/db.c:182: undefined reference to `mysql_store_result'
pinger/libzbxpinger.a(pinger.o)(.text+0x379): In function `process_value':
/usr/lib/zabbix/zabbix-1.1beta1/src/zabbix_server/pinger/pinger.c:197: undefined reference to `mysql_free_result'
pinger/libzbxpinger.a(pinger.o)(.text+0x3c2):/usr/lib/zabbix/zabbix-1.1beta1/src/zabbix_server/pinger/pinger.c:147: undefined reference to `mysql_free_result'
pinger/libzbxpinger.a(pinger.o)(.text+0x4c0): In function `main_pinger_loop':
/usr/lib/zabbix/zabbix-1.1beta1/src/zabbix_server/pinger/pinger.c:252: undefined reference to `mysql_free_result'
pinger/libzbxpinger.a(pinger.o)(.text+0x55e):/usr/lib/zabbix/zabbix-1.1beta1/src/zabbix_server/pinger/pinger.c:266: undefined reference to `mysql_free_result'
poller/libzbxpoller.a(poller.o)(.text+0x6a): In function `update_key_status':
/usr/lib/zabbix/zabbix-1.1beta1/src/zabbix_server/poller/poller.c:165: undefined reference to `mysql_free_result'
poller/libzbxpoller.a(poller.o)(.text+0xbe):/usr/lib/zabbix/zabbix-1.1beta1/src/zabbix_server/poller/poller.c:165: more undefined references to `mysql_free_result' follow
collect2: ld returned 1 exit status
make[3]: *** [zabbix_server] Error 1
make[3]: Leaving directory `/usr/lib/zabbix/zabbix-1.1beta1/src/zabbix_server'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/lib/zabbix/zabbix-1.1beta1/src/zabbix_server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/lib/zabbix/zabbix-1.1beta1/src'
make: *** [all-recursive] Error 1
My system configuration is as follows:
OS: SuSE Linux 9.3 Professional (Linux 2.6.11.4-21.9-default)
MySQL Server: MySQL 4.1.10a
MySQL Client: MySQL Client Version 5.0.4
SNMP: Net-SNMP 5.0.1 and also tried Net-SNMP 5.2.2.Pre1
Other: Perl, PHP, Ruby, Python (installed from SuSE 9.3 Professional CD and updated from SuSE site)
Comment